<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Tuxxedo Engine API Documentation</title>

		<link rel="stylesheet" href="./style.css" media="all" type="text/css" />
	</head>
	<body>

<h1>\Tuxxedo\Database\Result</h1>
<div class="box">
	<div class="inner">
		<div class="left-content">
			<fieldset>
				<legend><strong>Meta information</strong></legend>
				<table cellspacing="4" cellpadding="0">
					<tr>
						<td>Availability:</td>
						<td class="value" style="width: 100%">
							Tuxxedo Engine 1.0.0
						</td>
					</tr>
					<tr>
						<td>Type:</td>
						<td class="value" style="width: 100%">
							<a href="./classes.html">Class</a>
						</td>
					</tr>
					<tr>
	<td nowrap="nowrap">Namespace:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="namespace-tuxxedodatabase-321863.html">\Tuxxedo\Database</a>
	</td>
</tr><tr>
	<td nowrap="nowrap">Declared in:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		library/Tuxxedo/Database/Result.php
	</td>
</tr><tr>
	<td nowrap="nowrap">Modifiers:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		abstract
	</td>
</tr><tr>
	<td nowrap="nowrap">Implements:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="interface-tuxxedodatabaseresultspecification-134404.html">\Tuxxedo\Database\Result\Specification</a>
	</td>
</tr><tr>
	<td>&nbsp;</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="interface-tuxxedodesigniteratable-172406.html">\Tuxxedo\Design\Iteratable</a>
	</td>
</tr>
				</table>
			</fieldset>
		</div>
		<div class="content">
			<div class="infobox">
				Abstract database result class<br />Every driver result class must extend this class in order to be loadable
and to comply with the database access layer interface.
			</div>
			<br />
		</div>
		<div style="clear: left;"></div>
	</div>
</div>





<h2><span>Contents</span></h2>
<div class="box edge-title">
	<div class="inner">
		<div class="infobox">
			Table of contents
		</div>

		<h3>
	Constants
	<a name="constants"></a>
</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Constant</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="constant-fetch-array-679805.html">FETCH_ARRAY</a></td>
	<td nowrap="nowrap" style="width: 100%">Fetch mode constant - array</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="constant-fetch-assoc-468722.html">FETCH_ASSOC</a></td>
	<td nowrap="nowrap" style="width: 100%">Fetch mode constant - assoc</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="constant-fetch-object-986010.html">FETCH_OBJECT</a></td>
	<td nowrap="nowrap" style="width: 100%">Fetch mode constant - object</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="constant-fetch-row-583237.html">FETCH_ROW</a></td>
	<td nowrap="nowrap" style="width: 100%">Fetch mode constant - row</td>
</tr>
</table><h3>
	Properties
	<a name="properties"></a>
</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Property</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="property-cached-num-rows-954909.html">$cached_num_rows</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Cached number of rows</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-fetch-mode-818517.html">$fetch_mode</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Fetch mode</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-instance-057559.html">$instance</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;The database instance from where the result was created</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-iterator-data-283015.html">$iterator_data</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Iterator data for drivers that need to emulate the iterator functionality</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-position-770679.html">$position</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;Current iterator position</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-result-754938.html">$result</a></td>
	<td nowrap="nowrap" style="width: 100%"><span class="tag">Protected</span>&nbsp;The result resource</td>
</tr>
</table><h3>
	Methods
	<a name="methods"></a>
</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Method</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="method---construct-358506.html">__construct()</a></td>
	<td nowrap="nowrap" style="width: 100%">Constructs a new result object</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method---destruct-149003.html">__destruct()</a></td>
	<td nowrap="nowrap" style="width: 100%">Simple destructor to free result when the</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-count-624732.html">count()</a></td>
	<td nowrap="nowrap" style="width: 100%">Countable method, this is essentially a wrapper for getNumRows()</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-current-782241.html">current()</a></td>
	<td nowrap="nowrap" style="width: 100%">Iterator method - current</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-fetch-942258.html">fetch()</a></td>
	<td nowrap="nowrap" style="width: 100%">General fetch method, this method uses the FETCH_* constants</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-isfreed-236502.html">isFreed()</a></td>
	<td nowrap="nowrap" style="width: 100%">Checks whenever the result is freed or not</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-key-036662.html">key()</a></td>
	<td nowrap="nowrap" style="width: 100%">Iterator method - key</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-next-549391.html">next()</a></td>
	<td nowrap="nowrap" style="width: 100%">Iterator method - next</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-rewind-960975.html">rewind()</a></td>
	<td nowrap="nowrap" style="width: 100%">Iterator method - rewind</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-setfetchtype-952387.html">setFetchType()</a></td>
	<td nowrap="nowrap" style="width: 100%">Sets the fetch mode</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-valid-887718.html">valid()</a></td>
	<td nowrap="nowrap" style="width: 100%">Iterator method - valid</td>
</tr>
</table>
	</div>
</div>





<h2><span>Version history</span></h2>
<div class="box edge-title">
	<div class="inner">
		<table style="width: 100%" cellspacing="2" cellpadding="0">
			<tr class="head">
				<td class="strong center">Version</td>
				<td class="strong">Note</td>
			</tr>
			<tr class="row">
	<td nowrap="nowrap">1.2.0</td>
	<td nowrap="nowrap" style="width: 100%">The iteratable pattern is no longer a class, but an interface</td>
</tr><tr class="row">
	<td nowrap="nowrap">1.1.0</td>
	<td nowrap="nowrap" style="width: 100%">This class now implements the Iteratable design pattern</td>
</tr>
		</table>
	</div>
</div>

<h2><span>See also</span></h2>
<div class="box edge-title">
	<div class="inner">
		<ul>
			
			<li><a href="./classes.html">List of classes</a></li>
			<li><a href="./index.html">Table of contents</a></li>
		</ul>
	</div>
</div>

		<p>
			<em>Generated by Tuxxedo Engine 1.2.0 "Beloved" Release Candidate 2 (experimental). </em>
		</p>
	</body>
</html>